package com.greenhouse.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.greenhouse.common.annotation.Excel;
import com.greenhouse.common.core.domain.BaseEntity;

/**
 * 农产品管理对象 biz_crops_manage
 * 
 * @author greenhouse
 * @date 2021-05-14
 */
public class BizCropsManage extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/** id */
	private Long id;

	/** 农作物代码 */
	@Excel(name = "农作物代码")
	private String cropsCode;

	/** 农作物名称 */
	@Excel(name = "农作物名称")
	private String cropsName;

	/** 生长周期 */
	@Excel(name = "生长周期")
	private Integer growthCycle;

	/** 生长周期单位 */
	@Excel(name = "生长周期单位")
	private String cycleType;

	/** $column.columnComment */
	private String searchValue;

	public void setId(Long id) {
		this.id = id;
	}

	public Long getId() {
		return id;
	}

	public void setCropsCode(String cropsCode) {
		this.cropsCode = cropsCode;
	}

	public String getCropsCode() {
		return cropsCode;
	}

	public void setCropsName(String cropsName) {
		this.cropsName = cropsName;
	}

	public String getCropsName() {
		return cropsName;
	}

	public void setGrowthCycle(Integer growthCycle) {
		this.growthCycle = growthCycle;
	}

	public Integer getGrowthCycle() {
		return growthCycle;
	}

	public void setCycleType(String cycleType) {
		this.cycleType = cycleType;
	}

	public String getCycleType() {
		return cycleType;
	}

	public void setSearchValue(String searchValue) {
		this.searchValue = searchValue;
	}

	public String getSearchValue() {
		return searchValue;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId())
				.append("cropsCode", getCropsCode()).append("cropsName", getCropsName())
				.append("growthCycle", getGrowthCycle()).append("cycleType", getCycleType())
				.append("updateTime", getUpdateTime()).append("searchValue", getSearchValue())
				.append("createBy", getCreateBy()).append("updateBy", getUpdateBy()).append("remark", getRemark())
				.append("createTime", getCreateTime()).toString();
	}
}
